package com.dianjing.dianqun.model;

import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

public class Content implements java.io.Serializable {

	private static final long serialVersionUID = 7357240911910102320L;
	private Integer contentId; //

	private Integer channelId; // 栏目ID

	private Integer userId; //
	@JSONField(serialize = false)
	private Integer typeId; // 属性ID

	private Integer siteId; //

	@JSONField(serialize = false)
	private Integer viewsDay; // 日访问数

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date sortDate; // 排序日期
	@JSONField(serialize = false)
	private Byte topLevel; // 固顶级别

	@JSONField(serialize = false)
	private Boolean hasTitleImg; // 是否有标题图

	private Boolean isRecommend; // 是否推荐

	private Byte status; // 状态(0:草稿;1:审核中;2:审核通过;3:回收站)

	@JSONField(serialize = false)
	private Short commentsDay; // 日评论数
	@JSONField(serialize = false)
	private Short downloadsDay; // 日下载数
	private Short upsDay; // 日顶数
	private Boolean isTop; // 是否置顶（1:是;0:否）',
	private Boolean isFloat; //

	private ContentTxt contentTxt; //
	private ContentExt contentExt; //
	private ContentCount contentCount; //
	private String searchName;// 

	private Integer likeTotal;// 点赞数 手动封装
	private List<ContentComment> commentList;// 评论集合手动封装

	public ContentTxt getContentTxt() {
		return contentTxt;
	}

	public void setContentTxt(ContentTxt contentTxt) {
		this.contentTxt = contentTxt;
	}

	public ContentExt getContentExt() {
		return contentExt;
	}

	public void setContentExt(ContentExt contentExt) {
		this.contentExt = contentExt;
	}

	public Integer getContentId() {
		return contentId;
	}

	public void setContentId(Integer contentId) {
		this.contentId = contentId;
	}

	public Integer getChannelId() {
		return channelId;
	}

	public void setChannelId(Integer channelId) {
		this.channelId = channelId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getSiteId() {
		return siteId;
	}

	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}

	public void setIsFloat(Boolean isFloat) {
		this.isFloat = isFloat;
	}

	public Date getSortDate() {
		return sortDate;
	}

	public void setSortDate(Date sortDate) {
		this.sortDate = sortDate;
	}

	public Byte getTopLevel() {
		return topLevel;
	}

	public void setTopLevel(Byte topLevel) {
		this.topLevel = topLevel;
	}

	public Boolean getHasTitleImg() {
		return hasTitleImg;
	}

	public void setHasTitleImg(Boolean hasTitleImg) {
		this.hasTitleImg = hasTitleImg;
	}

	public Boolean getIsRecommend() {
		return isRecommend;
	}

	public void setIsRecommend(Boolean isRecommend) {
		this.isRecommend = isRecommend;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	public Short getCommentsDay() {
		return commentsDay;
	}

	public void setCommentsDay(Short commentsDay) {
		this.commentsDay = commentsDay;
	}

	public Integer getViewsDay() {
		return viewsDay;
	}

	public void setViewsDay(Integer viewsDay) {
		this.viewsDay = viewsDay;
	}

	public Short getDownloadsDay() {
		return downloadsDay;
	}

	public void setDownloadsDay(Short downloadsDay) {
		this.downloadsDay = downloadsDay;
	}

	public Short getUpsDay() {
		return upsDay;
	}

	public void setUpsDay(Short upsDay) {
		this.upsDay = upsDay;
	}

	public Boolean getIsTop() {
		return isTop;
	}

	public void setIsTop(Boolean isTop) {
		this.isTop = isTop;
	}

	public Boolean getIsFloat() {
		return isFloat;
	}

	public ContentCount getContentCount() {
		return contentCount;
	}

	public void setContentCount(ContentCount contentCount) {
		this.contentCount = contentCount;
	}

	public List<ContentComment> getCommentList() {
		return commentList;
	}

	public void setCommentList(List<ContentComment> commentList) {
		this.commentList = commentList;
	}

	public Integer getLikeTotal() {
		return likeTotal;
	}

	public void setLikeTotal(Integer likeTotal) {
		this.likeTotal = likeTotal;
	}

	public String getSearchName() {
		return searchName;
	}

	public void setSearchName(String searchName) {
		this.searchName = searchName;
	}

}